from flask import Flask

app = Flask(__name__)

@app.route('/')
def hello():
    return '<h1>你好，Gitee！这是通过 CI/CD 自动部署的 Flask 应用！</h1><p>版本: 初始版本</p>'

@app.route('/health')
def health():
    return 'OK', 200

if __name__ == '__main__':
    app.run(debug=False, host='0.0.0.0', port=5000)
